package com.coocaa.ops.common.core.biz.policygroup.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.coocaa.ops.common.core.base.entity.BaseOriginTableEntity;
import com.coocaa.ops.common.core.biz.homepage.entity.HomepageInfoEntity;
import lombok.Data;

import java.util.List;

/**
 * @author bjh
 * @description 策略组信息原始表
 * @date 2020-03-12 14:46:04
 */
@Data
@TableName("policy_group_info")
public class PolicyGroupInfoEntity extends BaseOriginTableEntity {

    /**
     * 策略组分类：1为保底策略,2为定向策略
     */
    private Integer policyGroupCategory;
    /**
     * 策略组名称
     */
    private String policyGroupName;
    /**
     * 对应机型机芯的内容源
     */
    private String platform;
    /**
     * 首页ID
     */
    private Integer homepageId;
    /**
     * 屏幕尺寸
     */
    private String screenSize;
    /**
     * mac,多个逗号分隔
     */
    private String mac;
    /**
     * 首页版本号起始值
     */
    private String homepageVerStart;
    /**
     * 首页版本号结束值
     */
    private String homepageVerEnd;
    /**
     * 整机版本起始值
     */
    private Integer tcVersionStart;
    /**
     * 整机版本结束值
     */
    private Integer tcVersionEnd;


    @TableField(exist = false)
    private HomepageInfoEntity normalHomepage;

    @TableField(exist = false)
    private List<PolicyGroupChipModelConfigEntity> rlsModelChipList;
}
